from django.db import models

class Category(models.Model):
    name = models.CharField(max_length=100) 
    
    def __unicode__(self):
        return self.name
    
    def __str__(self):
        return self.name

    class Meta:
        db_table = 'Categories'
        
#class CategoryChild(models.Model):
#    name = models.CharField(max_length=100)
#    parent = models.ForeignKey(Category)
    
#    def __unicode__(self):
#        return self.name
    
#    def __str__(self):
#        return self.name

#    class Meta:
#        db_table = 'CategoryChild'
